<extend name="Public/base" />
	<block name="wrapper">
		<form method="post" action="{:U('type/insert')}">
			<div  style="margin-left:400px;margin-top:100px;">
				<select class="	" name="pid" style="width:180px;height:25px;">
					  <option>--根级分类--</option>
						<foreach name="data" item="vo">
							<option value="{$vo['id']}">{$vo['level']|str_repeat='--',###}{$vo['typename']}</option>
						</foreach>
				</select>
			</div>
			<div style="margin-top:20px;margin-left:400px;" class="controls">
						<input style="width:180px;" name="typename" id="inputEmail" type="text">
			</div>
			<div style="margin-left:420px;margin-top:20px;">
					<input type="submit" value="添加分类"  class="btn btn-default btn-lg">
			</div>
		</form>
	</block>